home *** CD-ROM | disk | FTP | other *** search
/ By Popular Request 2.0 / By Popular Request 2.0 (Arsenal Computer).ISO / amiga_1 / amytutrl.lha / Part4 < prev    next >
Text File  |  1995-06-13  |  27KB  |  514 lines

  1.   And now, guess what?!  It's time for some more of that neat CLI stuff!!
  2. Oh please Mr. BenchMaster, can we have Assign first??
  3.  
  4.   Sorry kids, like desert, you'll have to finish your plates before we get
  5. to the good stuff, and that means every last byte!
  6.  
  7.   Okay, I'm just going to skip through the c directory; most of the commands
  8. just kind of do one thing so don't need much additional comment.
  9.  
  10.  
  11. AddBuffers-keep it until you get FaccII
  12. Assign-sorry, next section
  13. Break-Will stop some tasks that otherwise don't have an off command.
  14. CD-sorry, next section too
  15. Copy-makes a copy of a file where you specify, with a different name if you
  16.      so further specify.  Use "all" to copy all directories and files
  17. Date-shows or sets date
  18. Delete-deletes specified file unless "all" is used, then deletes specified
  19.        directory and all files/subdirectories within
  20. Dir-shows specified directory's contents. "Dir opt a" for total Dir
  21. DiskDoctor-for recovering deleted files or files from a damaged disk
  22. Echo-for printing out text in a CLI window
  23. Ed-the text editor
  24. Else, If, EndIf-next section
  25. EndCLI-closes CLI window; doesn't close if you've Run certain programs still
  26.        in operation, Runback might/should fix this
  27. Execute-a "Run" for scriptfiles, if I may be so bold
  28. FailAt-We're keeping it around as a sentimental reminder of what our
  29.      startup-sequence USED to look like
  30. Fault-translates error message number into semi-English
  31. Info-already covered.  You can get a better one off the BBS's
  32. Install-to make a formatted disk bootable
  33. Join-combines textfiles.  Use "Join (file1) (file2) AS (file3)"
  34. List-lists bytes in dir, to be replaced with DL, which will go into
  35.      directories in depth, giving you the full byteage
  36. LoadWB-loads up the Workbench screen
  37. MakeDir-makes a new directory, but not the icon for it.  For the .info file
  38.         you have to copy over (and rename) another drawer icon, or make up
  39.         a new one in IconEd
  40. NewCLI-it differs from the CLI command that was in the System drawer in only
  41.        one way, but you can play with them.  Both can have their window size
  42.        changed with NewZap
  43. Path-mentioned throughout the tutorial
  44. Prompt-changes the ">" sign for your CLI.  Could have some use
  45. Quit-never found it to do much
  46. Rename-renames files as well as moves them.  Learn this guy as well as Copy
  47. Run-for tools/programs
  48. SetClock-for setting the internal and system clocks
  49. Sort-alphabetizes textfiles.  Use "Sort (file1) TO (file2)"
  50. Stack-you won't need this until you get into animations but I left it in
  51.       just in case some graphics hack you've downloaded wants it.  If so,
  52.       there'll be numbers in the STACK box in the icon's Info window
  53. Status-gives you general status of CLI tasks.  Like Info, there are better
  54.        ones around but I find this one adequate
  55. Type-went into the dumper as soon as you got Less
  56. Version-left in just in case somebody/something wants it
  57. Wait-holds up CLI process for requested number of secs/mins
  58. Why-like Fault, gives you feedback on error.  Use right after boo-boo
  59.  
  60.   Okay, that's it for these clowns.
  61.  
  62.   Assign, Info, List and Status are the four commands you type alone into
  63. the CLI to see the current condition of the system.  Use them.
  64.  
  65.                                        *
  66.  
  67.   Well, I fibbed.  This is the next section and we're NOT going to go
  68. over those other commands just yet.  Aw-w, gee Uncle BenchMaster, c'mon,
  69. just one little Assign, pretty-please???
  70.  
  71.   Well, okay.  Geez, I'm such a sucker for you brats.  Now, remember when I
  72. said we'd wipe out the fonts dir, get all the space back and still have
  73. access to the fonts?  Here's how:  We'll make a fresh fonts dir on a blank
  74. disk and Assign fonts over to that disk, so when Notepad or whatever goes
  75. looking for fonts, there they'll be.  Put a freshly formatted disk in df1
  76. and rename it FontDisk.  Type "MakeDir df1:fonts", and you should have a
  77. fonts dir on FontDisk.  If you still have all the fonts in your Workbench
  78. directory, type "Copy fonts df1:fonts all".  If you've already blasted them,
  79. boot up your Workbench 1.2 and copy them over.  Now to run Notepad with
  80. df1's fonts, somewhere before you start up Notepad you need to Assign the
  81. fonts over to df1, which you can do a number of ways.
  82.  
  83.   -  You can just put "Assign fonts: df1:fonts" in your st-seq but then
  84. FontDisk always has to be in df1 when you're booting up or it stops.
  85.  
  86.   -  A variation on the above would be to put a
  87.  
  88.                If exists df1:fonts
  89.                Assign fonts: df1:fonts
  90.                endif
  91.  
  92. in the st-seq so it can see if df1:fonts is there or not.  One hitch
  93. with this is that unless FontDisk is in df1 during boot-up you'll STILL
  94. have to Assign them over before using the Notepad.  Also, you could have
  95. some ol' game disk with a font dir on it in df1 by mistake and things would
  96. really mixt up get.
  97.  
  98.   -  You could, of course, just type "Assign fonts: df1:fonts" in a CLI
  99. before using the Notepad every time.  Personally, I can't even imagine it.
  100.  
  101.   -  You could write a scriptfile saying nothing but "Assign fonts: df1:
  102. fonts", call it, say, "fo" (for fonts), and go "f fo" before firing up the
  103. Notepad.  But then, of course, you still have to remember to do it.
  104.  
  105.   -  You could use Xicon and run that same scriptfile from an icon,
  106. located, say, right next to the Notepad icon and that would do it for you.
  107.  
  108.   -  Or, of course, you could do it the right way.  I've given you enough
  109. clues in these pages to let you piece it together for yourself.
  110.  
  111.   Clue:  It's run but not run.
  112.  
  113.                                        *
  114.  
  115.   A few mentions on the new programs you've downloaded/are downloading..
  116.  
  117. The basic gang:
  118.  
  119. Conman - Only makes the CLI about 2000% times easier to use.  Use -q -t in
  120.          your st-seq.  The F2 and F10 keys are great.
  121.  
  122. Lace - It still has a few bugs.  The perfect Lace would remember where the
  123.        windows were when you go back to Interlace
  124.  
  125. Less - Allows you to Ed with "v".  Use "g" and "G" for top & bottom of page.
  126.        This is the only program I can think of that uses "hot keys", meaning
  127.        you don't have to hit the Return.  Rename it as Type.
  128.  
  129. PrefCh - Can also be used for different printer set-ups.
  130.  
  131. Mackie - Must be RunBack'd in st-seq.  You can make it do different things
  132.          but I like it straight up (NewCLI).  It's especially handy when
  133.          you've got the DU and a bunch of windows open and you just want a
  134.          CLI window for a second..hit Commodore-Esc, bang, up pops the
  135.          window, you do your thing, slap an "e" in there (for EndCLI) and
  136.          you're back to where you were, without a bunch of window-shuffling.
  137.  
  138. Runback - Always/usually use instead of Run in a scriptfile (like st-seq).
  139.  
  140. Select - Can also be used at any time in a scriptfile by giving it different
  141.          options.  My favorite Prefs color scheme for it is (Interlace)
  142.          000/677/000/707, SavePref'd as "system-configuration".
  143.  
  144. Xicon201 - I confess I only use this as a basic Workbench tool to run
  145.            scriptfiles with..the doc with it mentions lots of options.
  146.  
  147.  
  148. Others:
  149.  
  150. Arc - Always, always include a zzenpad.foo file (300-500 bytes) with every
  151.       file you re-arc.  The BenchMaster decrees it be so.  Supposedly these
  152.       newer types of compressors don't need padding at the end, but since
  153.       it's the ONLY thing we can do, we've just got to.  Most of the prob-
  154.       lems you'll have with corrupt files will probably be due to nothing
  155.       more than good ol' phone line interference.  More on that later.
  156.  
  157. Pkax - This is only a de-arc'er, but it just blows the doors off Arc, time-
  158.        wise.  For what it's worth, I have never had a program de-arc with
  159.        Arc and not with Pkax.  On the same subject, I've heard the Arc
  160.        people are all bent out of shape because of Pkax and are threatening
  161.        to encode the Arc'd file so ONLY Arc will be able to de-arc it.  If
  162.        that's the stupidest thing you've ever heard of, join the club.
  163.  
  164. DL - Rename it List2, use List for JUST a directory, List2 -R -s (dir) for
  165.      in-depth look.  Has to be capital "R".  Maybe I missed something (I
  166.      just now looked again..), but it just seems absurd that the Commodore
  167.      command List doesn't look in a directory's sub-directories as well,
  168.      thus giving you the total byteage for that directory.  Oh well.  I
  169.      MUST have missed something.  DL, by the way, has a little bug; it adds
  170.      a day or two onto the write date of the file.  Hey, details, details.
  171.  
  172. DU-VI - See that gap in between the two screens?  I kept thinking, gee, what
  173.         a blow-it, you think he would have noticed!  Then, while fumbling
  174.         about one day moving the right window out of the way so I could get
  175.         to the Bench icon, I realized, oops, wasn't a blow-it at all! I
  176.         was just kind of keeping my icons over on the right 'cause that's
  177.         where they'd always been, but obviously you can Snapshot them where-
  178.         ever you want..so now I have my Ram and Workbench icons under that
  179.         gap, so I can get to them when the DU's up.  
  180.  
  181.         If there's any "bug" with DU-VI it's that it has its own Type
  182.         program built-in, and you can't use Type (Less, renamed as Type)
  183.         which is really a drag, Less being so much better.  Put "Run Ed" in
  184.         the Edit requester instead of just "Ed", so you can still use the
  185.         DU.  To "refresh" a directory, click in the lower box behind the
  186.         directory's name, and then Return.
  187.  
  188. Blitzfonts - Not necessary, just one of those programs where once you get
  189.              used to it you notice it immediately when it's gone.  Use
  190.              Runback in st-seq.  If you need byte space it's one of the
  191.              first to go.
  192.  
  193. Zoomlens - For just a simple tool this can get pretty surreal.  I mean,
  194.            you always wondered what infinity looked like, right?
  195.  
  196. PlayBeep - I love this guy.  Gets rid of that nasty screen flash and substi-
  197.            tutes whatever little IFF sound file you wish.  There's a great
  198.            "ow.snd" off a similar program called SetBeep you should try.
  199.  
  200.                                        *
  201.  
  202.   Let's go over CD for a sec just to make sure you're familiar with it.  If
  203. there's any command on the disk that's "ours", CD is it.  Basically, it
  204. means you, meaning your fingers, meaning the keyboard, meaning where the
  205. commands being typed on the screen are coming from.  You can CD onto any
  206. device and into any directory.  Type "CD Ram:" and you're in Ram.  How do
  207. you know?  Type "CD" and it'll tell ya.  If you type "Dir" then you'll be
  208. shown what's in "your" directory and/or device.  Type "CD df0:System",
  209. then type "Dir".  Dir will show you what's in the directory you've CD'd to.
  210. You don't have to CD to a directory to find out what's in it, of course.
  211. Type "CD df0:", then type "CD" and it should spit the Bench's name back at
  212. you.  Type "Dir" and there's the stuff on the "surface" of the disk. Then
  213. type "Dir System" and there's the System stuff.  You already know this
  214. stuff?  Great, no problem.
  215.  
  216.   CD can save us a bunch of keystrokes if we're writing a scriptfile and
  217. have to copy or rename or whatever a bunch of files buried deep in some
  218. directory.  Let's say we've got a disk with nothing but IFF pictures on
  219. it, a whole bunch of them, all in separate directories.  We want to write a
  220. file that when we Execute it it will copy just certain pics to Ram.  So first
  221. we "Ed X/pics1", which will create a new scriptfile called "pics1" located
  222. in the directory X.  The pics we want to copy to Ram are in a directory on
  223. df1 called Modern, inside a directory called Art, inside a directory called
  224. Pics, inside a directory called Graphics.  Since this is already confusing
  225. enough, we'll just call the pics 1,2,3,4 and 5.  Using Ed, we'd write
  226.  
  227.                      Copy df1:Graphics/Pics/Art/Modern/1 Ram:
  228.                      Copy df1:Graphics/Pics/Art/Modern/2 Ram:
  229.                      Copy df1:Graphics/Pics/Art/Modern/3 Ram:
  230.                      Copy df1:Graphics/Pics/Art/Modern/4 Ram:
  231.                      Copy df1:Graphics/Pics/Art/Modern/5 Ram:
  232.  
  233.                   Whew!  With the CD command, we can do this:
  234.  
  235.                      CD df1:Graphics/Pics/Art/Modern
  236.                      Copy 1 Ram:
  237.                      Copy 2 Ram:
  238.                      Copy 3 Ram:
  239.                      Copy 4 Ram:
  240.                      Copy 5 Ram:
  241.  
  242.   See that?  It put us into the Modern dir and then when we said to Copy
  243. (or Rename or whatever) a file, the computer knew just where to find it, as
  244. it was right there "alongside" us.  We have to CD into most directories
  245. where programs and games and their associated files are kept for the same
  246. reason.  The computer can only "be" in one spot at a time (not speaking
  247. about multi-tasking) and CD tells it where to go & us where we are.
  248.  
  249.                                        *
  250.  
  251.   As you've noticed, I've been playing pretty fast and loose with the words
  252. "directory" and "drawer", and not by accident.  You might as well get used
  253. to them meaning (approximately) the same thing, kind of like that program/
  254. tool/utility business.  I'm tending to just use them as the occasion fits;
  255. you put things into drawers but you dir a directory, yes?  What you have to
  256. realize, and yes it comes as a surprise, is that there are "purists" out
  257. there who completely disdain the entire Workbench environment, windows, icons
  258. and all.  Perhaps "elitists" is the word.  Irregardless, it's just another
  259. word for "old-fashioned".  You'll find after a few months the keyboard and
  260. mouse blending together very nicely; there are certain functions that
  261. naturally fall into the CLI's domain and certain ones that just cry out for
  262. a cute icon.  And right in the middle of it all is big 'ol DU.
  263.  
  264.   And as long as we're talking about putting the knock on friendly ol'
  265. Workbench, you'll also hear our DOS being put down here and there, but not
  266. to fret; just take a glance at an MS/DOS book (IBM language) sometime and
  267. you'll quickly see there's no comparison.  We're talking about two completely
  268. different things.  Ours is just perfect for what we want to do, proven by
  269. asking the question "Just what commands are we MISSING, anyways?"  The only
  270. command "missing" is a "Move" command, as Rename won't move something to a
  271. different device.  But they didn't include one although they certainly could
  272. have, and I've never seen one on a BBS, so I guess that's just The Way It's
  273. Supposed To Be.  Conversely, it's probably why the DU was invented.
  274.  
  275.   Revised Edition note:  I finally DID find one, "Move2.4".  THANK you.
  276.  
  277.   And one other thing:  You'll hear mention of "bugs" in AmigaDOS.  The "Arp.
  278. library" are the "fixed" versions.  I've never had a command NOT work, given
  279. everything else was in place, so frankly I don't have the foggiest idea what
  280. they're talking about.  Unless you know better, I would call substituting
  281. our commands with the Arp.library "looking for trouble".
  282.  
  283.   I kinda feel the same way about the "Shell" program you'll hear some
  284. people raving about.  It's huge, byte-wise, claims to replace your c
  285. commands but doesn't really, and by the time you add this complicated
  286. program to "simplify" things, you're less than breaking even.
  287.  
  288.                                        *
  289.  
  290.   One of the nicer things about the WorkBench environment is being able to
  291. take icons and "store" them on the WorkBench screen, enabling us to close
  292. the window and make some space, yet still having them a double-click away.
  293.  
  294.                                        *
  295.  
  296.   If you haven't downloaded Conman yet, you're really missing the boat.  I
  297. guarantee it'll be one of your best buddies ever.  I give it my highest
  298. praise:  It should have been included with the original software.  I'd even
  299. settle for that tool dir on the Extras/Basic disk.  Which, yes, we'll get to
  300. eventually.  Don't hold your breath, though, there's not much on it for us
  301. of the computerati illiterae.
  302.  
  303.                                        *
  304.  
  305.   Figured out that deal with Notepad and the fonts yet?
  306.  
  307.                                        *
  308.  
  309.   There are two great keyboard commands that as far as I know aren't
  310. documented anywhere, probably a 1.2 upgrade.  I read about them in a
  311. letter to AmigaWorld..what can I say?  They're Commodore-N and Commodore-M.
  312. They flip you back and forth between screens, two much-used commands.  If a
  313. program, like gShow, mentions "toggle", that's possibly what it means.  To
  314. be fair, I think I did see them buried in one of the books eventually, but
  315. in some obscure context.  They should have been highlighted in Chapter Four.
  316.  
  317.                                        *
  318.  
  319.   You're probably getting a handle on Path, that elusive rascal.  Path shows
  320. the computer where directories are so it can find tools when you command it 
  321. to.  One thing you have to remember about Path is that it only leads to the 
  322. dir you name, even if it has to go through a couple of directories to do it.
  323. The directories it goes through to get to yours are not in the path unless
  324. specifically named.  I'm not sure if this makes sense or not; I haven't been
  325. in a situation where I wanted to make sure something DIDN'T have a path for
  326. it or to it.  Now that I've said that I'm sure one will arise.  Just Path
  327. everything that has a tool in it that you might want and be done with it.
  328.  
  329.                                        *
  330.  
  331.   Okay...NOW we'll do Assign.  Nothing to it, really.  Simply Assign
  332. anything to what you want and that's it!
  333.  
  334.                                        *
  335.  
  336.   Now I'd like to say a few words about the program Xicon.  It's one of the
  337. more integral programs on your download list, meaning that it touches a lot
  338. of areas of the computer.  I'm not going to call it a subroutine, though,
  339. as it only works when called upon, like any tool, whereas Mackie and 
  340. FaccII and the like are "always" running in the background, and that's
  341. easily proved by quitting the programs and watching the memory they were
  342. using come back.  Some subroutines, like Conman and Newfont, don't have off
  343. switches, so once they're run the memory's gone.  That, again, is where
  344. Select comes into play, which makes it so important.  What's that?  You
  345. thought the section on Assign was kind of skimpy?  Are you sure??  Look,
  346. I'll make you a deal:  YOU solve the Notepad/fonts puzzle and I'll give you
  347. another whole paragraph on Assign..fair enough?  Now put this down and get
  348. busy, gol'dang it!
  349.  
  350.                                        *
  351.  
  352.   Generally, the proper proceedure for using Xicon is this:  (I elaborate on
  353. this program because the doc is kinda big.  That doesn't make sense, but
  354. that's what I'm doing)
  355.  
  356.   Let's say we want to run a program, any program, say, Notepad for
  357. instance.  The only hitch is that on the Bench we've only got some lonesome
  358. ol' Topaz 11 kickin' around the fonts drawer, all the good stuff's on
  359. FontDisk.  We haul out Ed and write up a scriptfile for Xicon to run.  We
  360. type "Ed Utilities/Notepad!", note that the exclamation mark differs it from
  361. the program "Notepad".  You can use any name, "Note.Pad" for all I care,
  362. just so long as it's not the actual program's name.  So our scriptfile
  363. looks like this:
  364.  
  365.                           Assign fonts: df1:fonts
  366.                           CD df0:Utilities
  367.                           Notepad
  368.                           Assign fonts: df0:fonts
  369.  
  370.  
  371.   First we assigned the fonts directory over to the one on df1, so when
  372. Notepad went looking for "fonts", it was re-directed to the fonts dir on df1.
  373. Then we ran the Notepad program, but we didn't Run it, that's the deal.  If
  374. we'd Run it the scriptfile would have continued, the fonts dir would have
  375. been reassigned to df0 and Notepad wouldn't have found them.  This way they
  376. stay on df1 until the Notepad program is ended, allowing the scriptfile to
  377. continue.  This is an elemental part of the whole Amiga scheme so make sure
  378. you understand it.  Did I call it a "puzzle"?  Excuse me.
  379.  
  380.   So you've got your file written, Esc-X, Return to save it.  By the way, I
  381. CD'd into the Utilities directory before running the Notepad because Xicon
  382. likes you to CD into the directory.  It wasn't essential; you'll use Xicon a
  383. lot and discover its workings.  The next step is to change the Notepad
  384. icon from a tool to a project, as Xicon needs a project icon to run from.  If
  385. you don't have IconType or IconLab yet (where have you BEEN?), haul out good
  386. ol' IconEd, load up a project icon and the Notepad icon and do the switch.
  387. Save it as "df0:Utilities/Notepad!" (the .info is added automatically) to
  388. match our (!) scriptfile.
  389.  
  390.   Close IconEd, open the Utilities drawer and there our icon should be.
  391. Double-click it just to watch the error message and make a fool of yourself,
  392. then activate the icon and pull down the Info menu.  Activate the Default
  393. Tool box with the mouse then type in "df0:c/Xicon", hit Return, then SAVE
  394. the Info.  Ready for the big moment?  Double-click the icon, things should
  395. scratch around for a while then up Notepad should pop.  Check the fonts to
  396. make sure they're loaded.  Quit the program, the fonts should re-assign
  397. themselves to df0, and that's that.  You find out what things are currently
  398. assigned to by typing "Assign".  The box Xicon popped up is VERY valuable
  399. when getting a scriptfile running as that's your feedback window, which,
  400. hopefully, will tell you if something's screwing up.  Like if you didn't have
  401. FontDisk in df1 and the Assign failed, it'll tell you.  After the program's
  402. running smooth, re-open the Info window for the icon, click the ADD box then
  403. the Tool Types box and type in MODE=nowindow   That'll keep the window from
  404. opening.  It also one of the few times capitals count; any command in the
  405. Tool Types box is ALWAYS capitalized, far as I know.  If you have the older
  406. version of Xicon you'll type in MODE=closewindow.
  407.  
  408.   An improvement in the scriptfile would be to say  
  409.  
  410.                          Assign fonts: FontDisk:fonts
  411.  
  412. to make sure the Assign seeks out the disk by name, in which case you'll get
  413. a requester if Fontdisk isn't in one of the drives.
  414.  
  415.   Xicon, remember, is only for running scriptfiles from the Workbench.  You
  416. could always rename that Notepad! script to "n", put it in the s dir, and as
  417. fast as your fingers could type "f n", you'd be on your way.  Given how
  418. small, byte-wise, a scriptfile is, you could have both.  Yes, but I hear
  419. you ask, as long as you have to open Utilities to get to the CLI, why not
  420. just punch Notepad! as long as you're there?  Well, that, my friend, is
  421. because you don't have a handy little CLI window or two pop open down at
  422. the bottom of your Bench during boot-up for just such an occasion.
  423.  
  424.   But you will, you will...
  425.  
  426.                                        *
  427.  
  428.   The thing to understand about Assign is that it's not complicated, al-
  429. though it seems kind of hairy because we're dealing with device names and
  430. some of our major directories and such.  What it really is is kind of a
  431. ChangeName command;
  432.  
  433.                      ChangeName (oldname) to (newname)
  434.  
  435.   If we mention the fonts dir to the computer, it's thinking "df0:fonts", so
  436. in Notepad's case we:
  437.  
  438.                      ChangeNamed "df0:fonts" to "df1:fonts".
  439.  
  440.                                      or
  441.  
  442.                      Assign fonts: df1:fonts
  443.  
  444.   There might be the odd occasion where we'd want to have the libs dir in
  445. Ram for speed and/or lack of disk access.  Something like:
  446.  
  447.                      Makedir Ram:libs
  448.                      Copy libs Ram:libs all
  449.                      Assign libs: Ram:libs
  450.  
  451.   Then when some program goes seeking a lib, the libs dir has had it's name
  452. changed to "Ram:libs" and the program seeks it there.  AND real quickly, we
  453. notice.  AND without disk access, we re-notice.
  454.  
  455.   With my hard drive I boot up with a regular Workbench, but at some point in
  456. the st-seq I assign most of the Workbench dirs over to the dirs on the hard
  457. drive.  If you "Dir devs" the computer is thinking "Df0:devs", so in the
  458. st-seq I:
  459.  
  460.             Assign devs: dh0:devs
  461.             Assign libs: dh0:libs
  462.             Assign s: dh0:s
  463.             etc
  464.  
  465.   So now if I "Dir devs" the computer thinks "dh0:devs".  I "ChangeNamed"
  466. "(assumed df0):devs" to "dh0:devs".
  467.  
  468.   Occasionally some program will suddenly put up a requester saying something
  469. like "Please Insert Disk So-And-So", so at some point in your scriptfile
  470. you'd "Assign So-And-So: df0:Gamedir" or whatever dir you've got the program
  471. in.  Some programs have their own fonts or whatever they want to use, so you
  472. put the fonts in their own little dir in Gamedir, then "Assign fonts: df0:
  473. gamedir/fonts", so when the program looks for "fonts", it's re-directed to
  474. "df0:gamedir/fonts".  
  475.  
  476.   Try "Assign X: df0:Clock".  Type "X:" and you get the Clock. Gee, saved
  477. you a whole three key strokes!
  478.  
  479.   Goof around with Assign for awhile until you feel comfortable with it..you
  480. can't hurt anything and you can always re-boot if you lose it.
  481.  
  482.                                        *
  483.  
  484.   A few words on If, EndIf and Else.  Unless you want to get cute and start
  485. using all the sub-commands that go along with these three, things are pretty
  486. straightforward.  Take a glance in one of the DOS books if you forget the
  487. correct format.  Basically, it just checks to see if a file or directory is
  488. there, or not there, and then does something, or not.  The something it
  489. does can be a whole string of commands or nothing.  Ditto if the file
  490. isn't there.  The reason that mess is in the startup-sequence is just
  491. in case some idiot renames either the System or Utilities directories, in
  492. which case the Path command would fail.  That's not so bad; if the Path
  493. command fails the scriptfile continues to execute.  With a different command,
  494. like Assign, it grinds to a halt, so the commands CAN be important.
  495.  
  496.                                        *
  497.  
  498.   Some real homework for you:  Admittedly, the Notepad/fonts "puzzle" wasn't
  499. much of one, so here's a problem that will, hopefully, make you do a little
  500. creative thinking.  I mentioned it above but you probably haven't tried it
  501. yet.  It was the placing the Ram icon behind the gap between the DU's
  502. windows.  You can't just Snapshot it there like you can the Workbench one,
  503. because it just saves the information in Ram, which goes bye-bye when you
  504. re-boot.  Your homework is this:
  505.                        
  506.   Upon booting up, you should have a custom, NOT default, Ram icon in the
  507. spot where the DU's gap will be.  Its window has to open just where you want
  508. it to.  Extra credit will be given if you Dir Ram after booting up and it's
  509. empty!  The new icon's there and working, but there's no "disk.info" file in
  510. Ram.  You have until the end of the tutorial to solve this mighty poser.
  511.  
  512.                                        *
  513.  
  514.